//
//  MyGActivityCell.m
//  jingdongfang
//
//  Created by MTiMac02 on 2018/5/9.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

#import "MyGActivityCell.h"
#import "MyFocusMemberModel.h"

@interface MyGActivityCell()
@property (strong, nonatomic) IBOutlet UIImageView *activityImage;
@property (strong, nonatomic) IBOutlet UILabel *activityTitle;
@property (strong, nonatomic) IBOutlet UILabel *readNum;

@end
@implementation MyGActivityCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)layoutSubviews{
    MyFocusMemberModel *info=self.data;
    [self.activityImage sd_setImageWithURL:[NSURL URLWithString:info.image] placeholderImage:[UIImage imageNamed:@"mylike"]];
    self.activityTitle.text=info.title;
    self.readNum.text=[NSString stringWithFormat:@"阅读%@",info.readNum];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
